typedef unsigned int size_t;
extern void rt_assert_handler(const char *ex, const char *func, int line);
// int a()
// {
//    int  attr;
//    attr &= ~(0x1 << 9);
// }
static __inline size_t rt_hw_mmu_attr_add_perm(size_t attr, int prot)
{
    switch (prot)
    {

    case 2 | 16:
    case 2 | 8:
        attr |= (0x3 << 4);
        attr &= ~(0x1 << 9);
        break;
    default:
        if (!(0))
        {
            rt_assert_handler("0", __FUNCTION__, 188);
        };
    }
    return attr;
}